<!--
  Generated template for the ShopbusPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary">
    <ion-title>购物车</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <div class="empty" *ngIf="shopbus == null || shopbus.length == 0">
    购物车里空空如也!
  </div>


  <ion-row *ngFor="let  prod of shopbus">
    <ion-col col-10>
      <ion-checkbox [(ngModel)]="prod.checked"></ion-checkbox>
    </ion-col>
    <ion-col col-90 (click)="productdetail(prod.product_id)">
      {{prod.title}}
      <hr>
    </ion-col>
  </ion-row>
</ion-content>
<ion-footer >
  <button  ion-button block color="secondary" (click)="buy()" >结算</button>
</ion-footer>
